kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)
authorJim Mattson <jmattson@google.com>
Mon, 12 Dec 2016 19:01:37 +0000 (11:01 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 4 Jan 2017 19:39:36 +0000 (19:39 +0000)
commitcac5153cfe0232d62e2e9fe0b31168be1f8b5e06
treed7f80c1c0bdca70d0909e43b89b8fed8cf4d85d9
parent91866ed73c696a7109f90674554500096146a420
kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF)

When L2 exits to L0 due to "exception or NMI", software exceptions
(#BP and #OF) for which L1 has requested an intercept should be
handled by L1 rather than L0. Previously, only hardware exceptions
were forwarded to L1.

Signed-off-by: Jim Mattson <jmattson@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name kvm-nVMX-Allow-L1-to-intercept-software-exceptions-B.patch
arch/x86/kvm/vmx.c